package com.unittec.zk.provider.exam.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.unittec.zk.provider.exam.entity.ElExam;
import com.unittec.zk.sdk.exam.request.Req201014;
import com.unittec.zk.sdk.exam.request.Req201016;
import com.unittec.zk.sdk.exam.request.Req201017;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface ElExamMapper extends BaseMapper<ElExam> {
    IPage<Map<String, Object>> getExamDetailPage(Page<Object> page,@Param("query") Req201014 req201014);

    List<Map<String, Object>> getPageDetail(@Param("query")Req201016 req201016);

    IPage<Map<String, Object>> getOnLinePage(Page<Object> page,@Param("query") Req201017 req201017,@Param("userid")String id);
}